package com.example.feature.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ServletComponentScan(basePackages = {"com.zhou.common.filter"})
@ComponentScan(basePackages = {"com.zhou.common", "com.example.feature.demo"})
@MapperScan("com.example.feature.demo.mapper")
public class FeatureDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeatureDemoApplication.class, args);
    }

}
